import { createApp } from 'vue';
import './style.css'
import App from './App.vue';

library.add(faFolder);

import { library } from '@fortawesome/fontawesome-svg-core';
import { faCheck, faSearch, faVolumeUp, faEdit, faTrash, faSave, faAdd, faFile, faFolder} from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';


import router from './router';
import store from './store';

library.add(faCheck, faSearch, faVolumeUp, faEdit, faTrash, faSave, faAdd, faFile);


const app = createApp(App);

app.component('font-awesome-icon', FontAwesomeIcon);
app.use(store); // 使用 Vuex store
app.use(router);
app.mount('#app');
